package com.my.structuraltype.adapter;

// one client only can recoginze USB
public class PS2ToUSB implements USB {
	
	private PS2 ps2;
	
	public PS2ToUSB(PS2 ps2) {
		this.ps2 = ps2;
	}

	@Override
	public void workWithUSB() {
		System.out.println("change usb to ps2");
		ps2.workWithPS2();
	}

}
